package com.huang.dto;

import com.huang.annotation.Sensitive;
import com.huang.enums.SensitiveStrategy;
import lombok.Data;

/**
 * @author han
 * @since 2022-06-21 17:03:31
 */
@Data
public class UserDto {
    /**
     * 真实姓名
     */
    @Sensitive(strategy = SensitiveStrategy.USERNAME)
    private String realName;
    /**
     * 地址
     */
    @Sensitive(strategy = SensitiveStrategy.ADDRESS)
    private String address;
    /**
     * 电话号码
     */
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String phoneNumber;
    /**
     * 身份证号码
     */
    @Sensitive(strategy = SensitiveStrategy.ID_CARD)
    private String idCard;
}
